package com.teacher.pojo.dto.stuclass;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zfm
 * @date 2021/7/17 15:59
 */
@Data
public class StuClassAddDto {
    @ApiModelProperty(value = "班级名称")
    @NotBlank(message = "班级名称 不能为空")
    private String className;

    @ApiModelProperty(value = "10->正常 20->毕业班")
    @NotNull(message = "状态 不能为空")
    private Integer status;

    @NotNull(message = "年级 不能为空")
    private Integer year;

    @NotNull(message = "部门ID不能为空")
    private Long departmentId;

    @NotNull(message = "是否体育专业")
    private Boolean isPe;

    // 是否实验班
    private Boolean isExperiment;


}
